package fristphase.day01;

public class ValueTest {
    public static void main(String[] args) {
        double a = 12.0;
        System.out.println(a-8.9);//在运算结果范围在0~4(不包括)之间,会出现误差
        float b = 2.32f;
        long c = 1231213451;
        System.out.println(c*2*10);
        int d = 3;
        boolean e = true;
        char f = '扎'; //字符编码
        char o = 2;//（自动类型转换）将2的字符串编码转成对应的字符串，输出字符串
        char p = '2';//将''的内容以字符串的形式输出
        int i = 2+p;//（自动类型转换）将''的内容转成对应的字符串编码，与int类型2相加；
        double y = c/2;
        short g = 2;
        byte h = 22;
        System.out.println(y);
    }
}
